# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=mycroft-skill-date-time
pkgver=20.02_git20200503
pkgrel=0
_commit="1b3d4dfc4500d16670e1e412546a8956c162f82d"
pkgdesc="Mycroft AI official Date and Time Skill, providing the current time, date and day of week for cities around the world"
url="https://mycroft.ai/skills"
arch="noarch"
license="Apache-2.0"
depends="python3 py3-tz py3-tzlocal py3-astral py3-holidays"
source="https://github.com/mycroftai/skill-date-time/archive/$_commit/skills-date-time-$_commit.tar.gz"
options="!check" # No tests
builddir="$srcdir/skill-date-time-$_commit"

package() {
	mkdir -p "$pkgdir"/usr/share/mycroft/skills/mycroft-date-time.mycroftai
	cp -r ./* "$pkgdir"/usr/share/mycroft/skills/mycroft-date-time.mycroftai/
}

sha512sums="82b77d4cefe2680d44ade86f66a5db0a709d09b21c3695845e97df2bdfb06387d33e2ae343a47fae705546b7d65241e429e1b36bc867acc6e7c11e17267c7841  skills-date-time-1b3d4dfc4500d16670e1e412546a8956c162f82d.tar.gz"
